﻿<Window x:Class="DaphneTranslatorWPF.View.CulturePropertiesDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Culture Properties" Height="130" Width="300"
        Background="{DynamicResource WindowBackgroundBrush}"
        WindowStyle="ToolWindow" 
        WindowStartupLocation="CenterOwner"
        >
    <Grid Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="20 " />
            <RowDefinition Height="20" />
            <RowDefinition />          
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Row="0" Grid.Column="0" >Localized name:</TextBlock>
        <TextBlock Grid.Row="1" Grid.Column="0" >English name:</TextBlock>
        <TextBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Stretch" Text="{Binding Path=LocalizedName, Mode=TwoWay}" />
        <TextBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch" Text="{Binding Path=EnglishName, Mode=TwoWay}" />
        <StackPanel Grid.Row="3" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button IsDefault="true" Margin="3" Click="Button_Click">OK</Button>
            <Button IsCancel="true" Margin="3">Cancel</Button>
        </StackPanel>        
    </Grid>
</Window>
